package com.njtoyo.taxi.admin.mapper.master.enums.local_service;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum LifeMerchantMemberOrderState {
    init(0, "初始化"),
    operated(1, "支付中"),
    done(2, "已支付"),
    cancel(3, "已取消");

    @EnumValue
    private final int code;
    private final String desc;

    LifeMerchantMemberOrderState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
